<%--
  Created by IntelliJ IDEA.
  User: likaiyang
  Date: 2023/11/25
  Time: 12:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户注册</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/register_css.css">
</head>
<body>
<div class="login">
    <div class="box">
        <h2 class="table">注册用户</h2><br>
        <p>${msg}</p><br><br>
        <form action="${pageContext.request.contextPath}/user/register" method="post">
            请输入用户名：<input id="username" name="username" type="text" required><br>
            请输入密码：<input id="password" name="password" type="password" required><br>
            请输入联系电话：<input id="phone" name="phone" type="text" required><br>
            请输入邮箱：<input id="email" name="email" type="text" required><br>
<%--            请输入管理员状态：<input id="admin" name="admin" type="text" required><br>--%>
            <input type="submit" value="确认" class="go">
            <input type="reset" value="重置" class="go">
            <button name="button" onclick="history.back()" class="back">返回</button>
        </form>
        <br><br><a href="${pageContext.request.contextPath}/user/tologin">已有账号？前往登录</a>
    </div>
</div>
</body>
</html>
